package com.indexingsystem.boss.Vo;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单实体.
 * 
 * @author Administrator
 *
 */
public class OrdersVo implements Serializable {
	/**
	 * 序列化.
	 */
	private static final long serialVersionUID = -575039776933757040L;

	private String orderId;

	private String userId;

	private String userName;

	private String cgsInstitutionId;

	private String institutionId;

	private String institutionName;

	private String productsPrice;

	private String freightPrice;

	private String totalPrice;

//	private Integer isUnrestricted;

	private Date createDate;

	private Date endDate;

	private Integer payType;

	private Integer payStatus;

	private String payIdentifier;

	private Date payDate;

	private Date cancelDate;

	private String cancelReason;

	private Integer cancelType;

	private Integer state;

	private Integer syncState;

	private Integer copyCount;

	private String remark;

	private String consigneeMessageId;

	private Integer deliverType;

	private Date deliverDate;

	private Integer orderType;
	
//	private String invoiceNo;
//	
//	private String contractNo;
	
	private String installUserId;
    
    private String pushUserId;
    
	/**
	 * 订单分类 0 镜像馆 1 云中馆
	 */
	private Integer				orderCategory;

	/**
	 * 升级状态（对镜像馆） 0 未升级 1 已升级
	 */
	private Integer				upgradeStatus;

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getCgsInstitutionId() {
		return cgsInstitutionId;
	}

	public String getInstitutionName() {
		return institutionName;
	}

	public void setInstitutionName(String institutionName) {
		this.institutionName = institutionName;
	}

	public void setCgsInstitutionId(String cgsInstitutionId) {
		this.cgsInstitutionId = cgsInstitutionId;
	}

	public String getInstitutionId() {
		return institutionId;
	}

	public void setInstitutionId(String institutionId) {
		this.institutionId = institutionId;
	}

	public String getProductsPrice() {
		return productsPrice;
	}

	public void setProductsPrice(String productsPrice) {
		this.productsPrice = productsPrice;
	}

	public String getFreightPrice() {
		return freightPrice;
	}

	public void setFreightPrice(String freightPrice) {
		this.freightPrice = freightPrice;
	}

	public String getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(String totalPrice) {
		this.totalPrice = totalPrice;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public String getPayIdentifier() {
		return payIdentifier;
	}

	public void setPayIdentifier(String payIdentifier) {
		this.payIdentifier = payIdentifier;
	}

	public Date getPayDate() {
		return payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public Date getCancelDate() {
		return cancelDate;
	}

	public void setCancelDate(Date cancelDate) {
		this.cancelDate = cancelDate;
	}

	public String getCancelReason() {
		return cancelReason;
	}

	public void setCancelReason(String cancelReason) {
		this.cancelReason = cancelReason;
	}

	public Integer getCancelType() {
		return cancelType;
	}

	public void setCancelType(Integer cancelType) {
		this.cancelType = cancelType;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getSyncState() {
		return syncState;
	}

	public void setSyncState(Integer syncState) {
		this.syncState = syncState;
	}

	public Integer getCopyCount() {
		return copyCount;
	}

	public void setCopyCount(Integer copyCount) {
		this.copyCount = copyCount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getConsigneeMessageId() {
		return consigneeMessageId;
	}

	public void setConsigneeMessageId(String consigneeMessageId) {
		this.consigneeMessageId = consigneeMessageId;
	}

	public Integer getDeliverType() {
		return deliverType;
	}

	public void setDeliverType(Integer deliverType) {
		this.deliverType = deliverType;
	}

	public Date getDeliverDate() {
		return deliverDate;
	}

	public void setDeliverDate(Date deliverDate) {
		this.deliverDate = deliverDate;
	}

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public String getInstallUserId() {
		return installUserId;
	}

	public void setInstallUserId(String installUserId) {
		this.installUserId = installUserId;
	}

	public String getPushUserId() {
		return pushUserId;
	}

	public void setPushUserId(String pushUserId) {
		this.pushUserId = pushUserId;
	}

	public Integer getOrderCategory() {
		return orderCategory;
	}

	public void setOrderCategory(Integer orderCategory) {
		this.orderCategory = orderCategory;
	}

	public Integer getUpgradeStatus() {
		return upgradeStatus;
	}

	public void setUpgradeStatus(Integer upgradeStatus) {
		this.upgradeStatus = upgradeStatus;
	}

	public OrdersVo() {
		super();
	}

	public OrdersVo(String orderId, String userId, String userName, String cgsInstitutionId, String institutionId, String institutionName,
			String productsPrice, String freightPrice, String totalPrice, Date createDate, Date endDate, Integer payType, Integer payStatus,
			String payIdentifier, Date payDate, Date cancelDate, String cancelReason, Integer cancelType, Integer state, Integer syncState,
			Integer copyCount, String remark, String consigneeMessageId, Integer deliverType, Date deliverDate, Integer orderType,
			String installUserId, String pushUserId, Integer orderCategory, Integer upgradeStatus) {
		super();
		this.orderId = orderId;
		this.userId = userId;
		this.userName = userName;
		this.cgsInstitutionId = cgsInstitutionId;
		this.institutionId = institutionId;
		this.institutionName = institutionName;
		this.productsPrice = productsPrice;
		this.freightPrice = freightPrice;
		this.totalPrice = totalPrice;
		this.createDate = createDate;
		this.endDate = endDate;
		this.payType = payType;
		this.payStatus = payStatus;
		this.payIdentifier = payIdentifier;
		this.payDate = payDate;
		this.cancelDate = cancelDate;
		this.cancelReason = cancelReason;
		this.cancelType = cancelType;
		this.state = state;
		this.syncState = syncState;
		this.copyCount = copyCount;
		this.remark = remark;
		this.consigneeMessageId = consigneeMessageId;
		this.deliverType = deliverType;
		this.deliverDate = deliverDate;
		this.orderType = orderType;
		this.installUserId = installUserId;
		this.pushUserId = pushUserId;
		this.orderCategory = orderCategory;
		this.upgradeStatus = upgradeStatus;
	}

	@Override
	public String toString() {
		return "OrdersVo [orderId=" + orderId + ", userId=" + userId + ", userName=" + userName + ", cgsInstitutionId=" + cgsInstitutionId
				+ ", institutionId=" + institutionId + ", institutionName=" + institutionName + ", productsPrice=" + productsPrice + ", freightPrice="
				+ freightPrice + ", totalPrice=" + totalPrice + ", createDate=" + createDate + ", endDate=" + endDate + ", payType=" + payType
				+ ", payStatus=" + payStatus + ", payIdentifier=" + payIdentifier + ", payDate=" + payDate + ", cancelDate=" + cancelDate
				+ ", cancelReason=" + cancelReason + ", cancelType=" + cancelType + ", state=" + state + ", syncState=" + syncState + ", copyCount="
				+ copyCount + ", remark=" + remark + ", consigneeMessageId=" + consigneeMessageId + ", deliverType=" + deliverType + ", deliverDate="
				+ deliverDate + ", orderType=" + orderType + ", installUserId=" + installUserId + ", pushUserId=" + pushUserId + ", orderCategory="
				+ orderCategory + ", upgradeStatus=" + upgradeStatus + "]";
	}
}